<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>简书顶部导航栏模仿</title>
    <link rel="stylesheet" href="../../lib/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="./index.css">
</head>

<body>
    <nav id="top-nav">
        <a id="logo" href="#" class="pull-left">
            <img src="./logo.png" alt="logo">
        </a>
        <div class="box pull-right">
            <a href="">Aa</a>
            <a href="">登陆</a>
            <a href="" class="btn outline">注册</a>
            <button type="button" class="btn primary"><i class="fa fa-pencil"></i>写文章</button>
        </div>
        <div class="container">
            <ul id="menu">
                <li class="active"><a href=""><i class="fa fa-safari"></i>首页</a></li>
                <li><a href=""><i class="fa fa-download"></i>下载APP</a></li>
            </ul>
            <span class="box" id="search-box">
                <input type="text" placeholder="搜索">
                <i class="fa fa-search"></i>
            </span>
        </div>

    </nav>
</body>

</html>